<#assign className = table.className>
<#assign classNameLower = className?uncap_first>
package ${basepackage}.controller;

import com.bro.person.admin.model.${className};
import com.bro.person.admin.model.${className}Criteria;
import com.bro.person.admin.service.I${className}Service;
import com.bro.person.base.controller.AbstractBroBaseController;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * ${className}的 controller
 *
 * @author jdd
 * @version 1.0
 * @date <#if now??>${now?string('yyyy-MM-dd HH:mm:ss')}</#if>
 */
@RestController
@RequestMapping("/${classNameLower}")
public class ${className}Controller extends AbstractBroBaseController<${className}, ${className}Criteria, ${table.idColumn.javaType}> {

    @Resource
    private I${className}Service ${classNameLower}UserService;

    @Override
    protected I${className}Service getService() {
        return ${classNameLower}UserService;
    }
}